/**
 *@Author Rain_tdk
 *@Date: 2018/6/7  11:16
 *@Description: 工具方法
 *@ReviseAutor:
 *@ReviseDate:
 */

/**
 * is a array
 * @param arr
 * @returns {boolean}
 */
export const isArray = (arr) => {
  return Object.prototype.toString.call(arr) === '[object Array]';
};

/**
 * is a object
 * @param obj
 * @returns {boolean}
 */
export const isObject = (obj) => {
  return Object.prototype.toString.call(obj) === '[object Object]';
}




